package com.easy.bean;
import com.baomidou.mybatisplus.annotation.*;
import com.easy.generator.annotation.EasyField;
import com.easy.generator.annotation.RouterLabel;
import lombok.Data;
@Data
@TableName("admin")
@RouterLabel(label="管理员管理")
public class Admin {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @EasyField(label = "手机号")
    @TableField(value= "phone")
    private String phone;
    @TableField(value= "password")
    private String password;
    @EasyField(label = "姓名")
    @TableField(value= "name")
    private String name;
}
